import request from '@/router/axios';

export const getList = (page, size, params) => {
    return request({
        url: '/dis/seller/goodsRelation/list',
        method: 'post',
        params: {
            ...params,
            page,
            size,
        }
    })
}
export const remove = (id,settingType) => {
    return request({
        url: '/dis/seller/goodsRelation/delete',
        method: 'post',
        meta: {
            isSerialize: true,
        },
        data: {
            id,
            settingType
        }
    })
}

export const removeAll = (ids) => {
    return request({
        url: 'dis/seller/goodsRelation/removeAll',
        method: 'post',
        meta: {
            isSerialize: true,
        },
        data: {
            ids,
        }
    })
}






